import * as path from "path";
import { startServer } from "maishu-node-mvc";
import { loadConfig } from "./config";

let configPath = path.join(__dirname, "../config.yaml");
let config = loadConfig(configPath);
startServer({
    port: config.port,
    websiteDirectory: __dirname
}, "mvc");
